package com.jrx.anytxn.customer.constant;

/**
 * ClassName CouponConstant
 *
 * @author lujianyou
 * @version 1.0
 * @description 优惠券常量
 * @date 2021/6/10 20:33
 **/

public final class CouponConstant {
    /**
     * 权益类型： 现金类
     */
    public static final String COUPON_TYPE_COUPON = "0";
    /**
     * 权益类型： 资格类
     */
    public static final String COUPON_TYPE_QUALIFICATION = "1";
    /**
     * 权益类型：易点平台类
     */
    public static final String COUPON_TYPE_THIRD_COUPON = "2";
    /**
     * 权益类型：权益平台下单类
     */
    public static final String COUPON_TYPE_COUPON_BOSS = "3";
    /**
     * 活动类型：现金优惠类
     */
    public static final String ACTIVITY_TYPE_CASH_OFFERS = "08";
    /**
     * 活动类型：权益资格类
     */
    public static final String ACTIVITY_TYPE_QUALIFICATION = "10";
    /**
     * 活动类型： 易点平台类
     */
    public static  final String ACTIVITY_TYPE_THIRD_COUPON = "11";
    /**
     * 活动类型：权益平台下单类
     */
    public static final String ACTIVITY_TYPE_COUPON_BOSS = "12";

    /**
     * 权益待启用
     */
    public static final String ENABLE_TAG_TO_ENABLE = "0";
    /**
     * 权益已启用
     */
    public static final String ENABLE_TAG_ENABLE = "1";
    /**
     * 权益已下线
     */
    public static final String ENABLE_TAG_DISABLE = "2";
    /**
     * 日期未生效
     */
    public static final String DATE_NOT_EFFECTIVE = "0";
    /**
     * 日期生效中
     */
    public static final String DATE_IN_EFFECTIVE = "1";
    /**
     * 日期已过期
     */
    public static final String DATE_IN_EXPIRE = "2";
    /**
     * 权益未使用
     */
    public static final String RIGHTS_STATUS_UNUSED = "0";
    /**
     * 权益已使用
     */
    public static final String RIGHTS_STATUS_USED = "1";
    /**
     * 权益已过期
     */
    public static final String RIGHTS_STATUS_EXPIRED = "2";
    /**
     * 权益部分使用： 仅使用于折扣券
     */
    public static final String RIGHTS_STATUS_USED_PARTLY = "3";

    /**
     * 不可循环，一次使用
     */
    public static final String CYCLE_USE_N = "0";
    /**
     * 可循环使用
     */
    public static final String CYCLE_USE_Y = "1";
    /**
     * 易点-微信公众号发放优惠券
     */
    public static final String TYPE_WXGZH = "0";
    /**
     * 易点-商家APP-发放兑换码
     */
    public static final String TYPE_SJAPP = "1";
    /**
     * 易点-微信立减金
     */
    public static final String TYPE_WXLJJ = "2";
    /**
     * 易点-发放商家券
     */
    public static final String TYPE_SJQUAN = "3";

    //短信类型
    public static final String SMS_TYPE_EXCHANGE_RIGHTS = "exchangeRights"; // 兑换权益成功提醒短信
    public static final String SMS_TYPE_GRANT_COUPON_RIGHTS = "grantCouponRights"; // 下发权益提醒短信
    public static final String SMS_TYPE_RIGHTS_REMINDER = "rightsReminder"; // 下发权益提醒短信

    //多权益简称后缀
    public static final String MORE_COUPON_END_FIX = "兴安花新人礼";

    // 权益兑换标识
    public static final String EXCHANGE_COUPON_ORDER_ERROR = "5";
    public static final String EXCHANGE_COUPON_ORDER_PROCESSING = "0";
    public static final String EXCHANGE_COUPON_ORDER_PENDING = "1";
    public static final String EXCHANGE_COUPON_ORDER_SUCCESS = "2";
    public static final String EXCHANGE_COUPON_ORDER_FAIL = "3";
    public static final String EXCHANGE_YD_ORDER_SUCCESS = "4";


    //权益参数表pr_rights_and_interests -> rights_cate
    //权益兑换记录表tl_rights_exchange_log -> order_type
    public static final String EXCHANGE_RIGHTS_CATE_KA_MI = "0";//卡密商品
    public static final String EXCHANGE_RIGHTS_CATE_ZHI_CHONG = "1";//直充商品
    public static final String EXCHANGE_RIGHTS_CATE_HUA_FEI = "2";//话费商品
    public static final String EXCHANGE_RIGHTS_CATE_DAI_JIN_QUAN = "3";//代金券权益
    public static final String EXCHANGE_RIGHTS_CATE_ZHI_KOU_QUAN = "4";//折扣券权益


}
